<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
		<center>
       		 第<s:property value="currentPage"/>页&nbsp;&nbsp;
       		 总共<s:property value="totalPage"/>页&nbsp;&nbsp;
       		    <s:url id="url_pre" value="%{actionName}">   
              		  <s:param name="currentPage" value="currentPage-1"></s:param>   
    			 </s:url>   
  
     			<s:url id="url_next" value="%{actionName}">   
         				<s:param name="currentPage" value="currentPage+1"></s:param>   
    			 </s:url>   
    			 <s:url id="url_first" value="%{actionName}">
    			 	<s:param name="currentPage" value="%{1}"></s:param>
    			 </s:url>
    			 <s:url id="url_last" value="%{actionName}">
    			 	<s:param name="currentPage" value="totalPage"></s:param>
    			 </s:url>
    			
    			<s:a href="%{url_first}">首页</s:a>&nbsp;&nbsp;    
     			<s:if test="currentPage>1">
    					 <s:a href="%{url_pre}">上一页</s:a>
     			</s:if>&nbsp;&nbsp;
     			<s:if test="currentPage<totalPage">
     					<s:a href="%{url_next}">下一页</s:a>
     		    </s:if>&nbsp;&nbsp;
				&nbsp;<s:a href="%{url_last}">末页</s:a>
       	</center>